async function getInfo() {
    let res
    await axios.get('/user/info', {
        params: {
            token: window.localStorage.getItem('token'),
        }
    })
        .then(({data}) => {
            res = data.success
        });
    return res
}